import request from '@/utils/request'

// 查询vue配置二级列表
export function LayoutVueFirstId(query) {
  return request({
    url: '/vue/BiConfVueSecond/getLayoutVueFirstId',
    method: 'get',
    params: query
  })
}
// 查询vue配置二级列表
export function getTableNameByVueSecondId(query) {
  return request({
    url: '/vue/BiConfVueSecond/getTableNameByVueSecondId',
    method: 'get',
    params: query
  })
}
// 查询vue配置二级列表
export function listBiConfVueSecond(query) {
  return request({
    url: '/vue/BiConfVueSecond/list',
    method: 'get',
    params: query
  })
}

// 查询vue配置二级详细
export function getBiConfVueSecond(id) {
  return request({
    url: '/vue/BiConfVueSecond/' + id,
    method: 'get'
  })
}

// 新增vue配置二级
export function addBiConfVueSecond(data) {
  return request({
    url: '/vue/BiConfVueSecond',
    method: 'post',
    data: data
  })
}
// 新增vue配置二级
export function query(data) {
  return request({
    url: '/vue/BiConfVueSecond/query',
    method: 'post',
    params: data
  })
}
// 修改vue配置二级
export function adjustVueSecondPosition(data) {
  return request({
    url: '/vue/BiConfVueSecond/adjustVueSecondPosition',
    method: 'put',
    data: data
  })
}
// 修改vue配置二级
export function updateBiConfVueSecond(data) {
  return request({
    url: '/vue/BiConfVueSecond',
    method: 'put',
    data: data
  })
}
// 删除vue配置二级
export function delBiConfVueSecond(id) {
  return request({
    url: '/vue/BiConfVueSecond/' + id,
    method: 'delete'
  })
}
